package com.example.demo.builderpattern.item.burger;

import com.example.demo.builderpattern.item.Item;
import com.example.demo.builderpattern.pack.Packing;
import com.example.demo.builderpattern.pack.Wrapper;

/**
 * @author :xie
 * Email: 1487471733@qq.com
 * Date: 2018/9/10
 * Time: 17:53
 * Describe:
 */
public abstract  class Burger implements Item {

    /**
     * 汉堡用包装纸包装
     * @return
     */
    @Override
    public Packing packing() {
        return new Wrapper();
    }

    @Override
    public abstract float price();
}
